/* top navbar style start */
.layout-container{
  position: absolute;
  top: 0px;
  bottom: 0px;
  width: 100%;
  .topbar-wrap {
    padding: 0px;
    .top-right{
      display: flex;
      align-items: center;
    }
    .menu-toggle{
      border-left: 1px solid #F4F6FC;
      width: 50px;
      text-align: center;
      font-size: 24px;
      cursor: pointer;
    }
    .topbar-title {
      text-align: left;
      padding-left: 10px;
    }
    .topbar-account {
      position: absolute;
      right: 0;
      display: flex;
      align-items: center;
      padding-right: 12px;
    }
    .userinfo-inner {
      cursor: pointer;
      color: #222222;
      padding-left: 10px;
      text-align: right;
      img {
        margin-left: 6px;
        width: 42px;
        height: 42px;
        border: 1px solid #504d4d;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        vertical-align: middle;
      }
    }
  }
  .topbar-wrap .topbar-btn {
    color: #222222;
  }

  .topbar-wrap .topbar-logo {
    &.isClose{
      width:60px!important;
      a{
        justify-content: center;
        img{
          margin: 0;
        }
      }

    }
    float: left;
    a{
      display: flex;
      align-items: center;
      text-decoration: none;
    }
    img{
      display: block;
      height: 30px;
      margin: 0 10px 0 20px;
    }
  }

  .el-menu--horizontal > .el-menu--horizontal > .el-menu-item:focus, .el-menu--horizontal > .el-menu-item.is-active {
    font-size: 18px;
    border: none;
  }
  .el-menu-item .icon {
    margin-right: 5px;
    display: inline-block;
    width: 24px;
    text-align: center;
    font-size: 18px;
    vertical-align: middle;
  }
}
/* top navbar style end */



/* left sidebar style start */
.layout-container{
  aside.showSidebar{
    .el-menu-item{
      margin-top: 10px;
      .left-border{
        padding-left: 10px;
      }
    }
  }
  aside {
    .menu-toggle .iconfont:hover {
      cursor: pointer;
    }
    .el-submenu {
      margin-top: 10px;
      .el-menu-item {
        background-color: #ffffff;
        padding: 0 20px 0 0;
      }
    }
  }
  aside .el-menu-item, aside .el-submenu__title {
    text-align: left;
  }
  .container aside .el-menu .el-menu-item, .container aside .el-submenu .el-submenu__title {
    height: 50px;
    line-height: 50px;
  }
  .container aside .el-menu-item:hover, .container aside .el-submenu .el-menu-item:hover, .container aside .el-submenu__title:hover {
    background-color: #eeeeee;
  }

  .el-menu.el-menu--horizontal{
    border: none;
  }
}
/* left sidebar style end */


/* main content style start */
.layout-container{
  .main {
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    bottom: 0px;
    overflow: hidden;
  }
  .content-container {
    background: #F4F6FC;
    -ms-flex: 1;
    flex: 1;
    overflow-y: auto;
    padding: 30px 56px 0 40px;
  }
  .grid-content {
    border-radius: 2px;
  }
}
/* main content style end */


/* scrollbar style start */
::-webkit-scrollbar {
  background: transparent;
  width: 10px;
  height: 10px
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #e1e1e1;
  width: 6px;
  height: 6px;
  border: none;
  background-clip: content-box
}

::-webkit-scrollbar-track {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #fafafa
}
/* scrollbar style end */

// 布局定义--高度
$sideBarWidth: 216px;
$topBarHeight: 96px;

// 底部
.content-container{
  .content-top{
    // background-color: #fff;
    min-height: calc(100% - 56px);
  }
  .footer{
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    padding: 20px;
  }
}
